source common.sh
#入口
main(){
  if [ ! $1 ]
  then
    echo "DockerFile文件路径不能为空"
    exit
  fi

  if [ ! $2 ]
  then
    echo "生成镜像名称不能为空"
    exit
  fi

  echo "开始构建"
  buildImg $1 $2
}
main $1 $2
